import request from '@/utils/request'

// 查询完成记录列表
export function listBizOrderProcessRecord (query) {
  return request({
    url: '/biz/bizOrderProcessRecord/list',
    method: 'get',
    params: query
  })
}

// 修改完成记录
export function updateBizOrderProcessRecord (data) {
  return request({
    url: '/biz/bizOrderProcessRecord',
    method: 'put',
    data: data
  })
}
// 修改工序记录
export function updateProcess (data) {
  return request({
    url: '/biz/bizOrderProduct/updateProcess',
    method: 'post',
    data: data
  })
}